using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;

namespace MF.Bus
{
    /// <summary>
    /// 消息消费入口
    /// </summary>
    public class MFConsumeEntry
    {
        private readonly ILogger<MFConsumeEntry> _logger;
        public MFConsumeEntry(ILogger<MFConsumeEntry> logger)
        {
            _logger = logger;
        }
        public void ComsumeEntry(BusMessage message)
        {

            _logger.LogInformation(message.JsonData);
            
            
        }
    }
}
